# 初始化条件
# n = 0
# while n < 100:  # 条件判断
#     print("hello Python") #执行循环体
#     n += 1  # 判断条件的更新

# 初始化条件
n = 0
while n < 10:  # 判断条件
    print("Hello World")  # 循环体
    n = n + 1  # 判断条件更新

#   高斯求和

n = 2
result = 0
while n < 10001:
    result += n
    n += 2
print(result)

#
# while '111':
#     print(1)

# while True:
#     print(1)


n = 6
while n < 3:
    print("Hello Python")
    print()
    print("Hello World")
